package com.zbiti.anvil.webservice.gateway.config;

import com.zbiti.anvil.webservice.gateway.samples.DemoWebService;
import com.zbiti.anvil.webservice.gateway.samples.impl.DemoWebServiceImpl;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Web服务装配类
 *
 * @author Fanyc
 * @date 2022-01-11 14:42
 */
@Configuration
public class WebServiceConfiguration {

    /**
     * 实例化Web服务实现
     */
    @Bean
    public DemoWebService demoWebService() {
        return new DemoWebServiceImpl();
    }

}
